home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #9
/
Amiga Plus CD - 2004 - No. 09.iso
/
amigaplus
/
tools
/
amigaos4_only
/
ifxlite
/
imagefx3
/
rexx
/
convertanim.ifx
< prev
next >
Wrap
Text File
|
2004-08-03
|
829b
|
42 lines
/*
* Do a negative effect on the given animation. Assumes the
* Render module and render settings are already setup.
*/
OPTIONS RESULTS
RequestFile '"Enter Source Animation:"'
IF rc ~= 0 THEN EXIT 0
filename = result
RequestFile '"Enter Destination Animation:"'
IF rc ~= 0 THEN EXIT 0
outfile = result
IF EXISTS(outfile) THEN DO
RequestResponse '"Output exists. Overwrite it?"'
IF rc ~= 0 THEN EXIT 0
ADDRESS COMMAND 'Delete' outfile
END
SetPrefs Undo Off
Menu Render
LockRange 0 OFF
DO i = 1
LoadBuffer filename Force i /* load a frame */
IF rc ~= 0 THEN LEAVE /* oops... end of file, exit */
Render Go /* uses current render settings */
SaveRenderedAs ANIM outfile Append /* append to output animation */
LockRange 0 ON
END
SetPrefs Undo On
EXIT 0